package com.lwlk.zdk.enums;

public enum RetCode {

    SUCCESS("200", "接口执行成功"),
    USABLE_SUCCESS("200","此名称可用"),
    IDENTICAL("500","车牌号和车牌颜色有重复值或数据输入有错误"),

    CALLBACK_SUCCESS("200","查岗有新信息"),

    REQUEST_ERROR("500", "请求失败"),

    NOT_DATA("401","暂无数据"),

    NOT_LOGIN("-1", "尚未登录"),
    LOGIN_FAIL("-2", "登录失败"),
    ACCOUNT_EXIST("403","此账号已存在,请重新输入!"),
    PLATFORM_NOTEXIST("403","此账号所绑定平台不存在或已删除!"),
    ENTERPRISE_EXIST("403","此企业已存在,请重新输入!"),
    incomplete("403","请填写完整信息"),
    PWD_ERROR("-3", "密码错误"),
    NOTNULL("401", "所选考核类型已存在,请重新添加"),
    PASSWORD_NOT_SAME("500","密码不一致，请重新输入"),
    RESOURCES_ADD_FAIL("500","操作失败"),

    PERMISSION_DENIED("400", "权限不足"),
    VEHICLENUMBER_EXIST("403", "此车牌号已存在,请重新输入!"),
    ACCOUNT_NULL("404", "暂无此账号"),
    NO_DATA("401", "暂无数据"),
    D_RESULT_FAIL_NAMEVAR("1111", "此用户名已注册，请直接登录"),
    ACCOUNT_USABLE("200", "此账号可用"),
    NULL_MESSAGE("401","列表中有未创建的考核周期或考核类型的参数,请创建对应的考核评分规则");
    
    
    

    private String code;
    private String msg;

    RetCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
